package com.wing.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.product.model.entity.WarehouseSignOrder;
import com.wing.product.model.response.WarehouseOrderInfoDetailVO;
import com.wing.product.model.response.WarehouseShipmentOrderInfoVO;
import com.wing.product.model.response.WarehouseSignOrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface WarehouseSignOrderDao extends BaseMapper<WarehouseSignOrder> {
    List<WarehouseSignOrderVO> list4app(Page<WarehouseSignOrder> pg,@Param("params") Map<String,Object> paramMap);
    List<WarehouseSignOrderVO> selectLogistics();

    WarehouseShipmentOrderInfoVO info(@Param("waybill") String waybill);

    WarehouseShipmentOrderInfoVO infoIsSign(@Param("id") Long id);

    List<WarehouseOrderInfoDetailVO> infoDetail(Long id);

    List<WarehouseOrderInfoDetailVO> infoDetailIsSign(Long id);

    List<WarehouseOrderInfoDetailVO> signDetail(Page<WarehouseSignOrder> pg,@Param("params") Map<String,Object> paramMap);

    Map countSettled();

    Map countShipment();

}